home *** CD-ROM | disk | FTP | other *** search
- on msgJump
- global loopOnce
- if loopOnce = 0 then
- startTimer()
- end if
- puppetSprite(16, 1)
- if the timer > 260 then
- set the memberNum of sprite 16 to the number of member ("msg" & string(random(22)))
- updateStage()
- startTimer()
- else
- set loopOnce to 1
- exit
- end if
- end
-
- on printCast whatMember
- set doc to new(xtra("PrintoMatic_Lite"))
- if not objectp(doc) then
- exit
- end if
- setMargins(doc, rect(36, 36, 36, 36))
- setDocumentName(doc, "Print Artist Sample Art")
- append(doc, member whatMember)
- if doJobSetup(doc) then
- print(doc)
- end if
- set doc to 0
- end
-
- on printCard whatMember
- set doc to new(xtra("PrintoMatic_Lite"))
- if not objectp(doc) then
- exit
- end if
- setMargins(doc, rect(28, 36, 36, 36))
- setDocumentName(doc, "Print Artist Sample Art")
- append(doc, member whatMember)
- if doJobSetup(doc) then
- print(doc)
- end if
- set doc to 0
- end
-
- on wait n
- startTimer()
- repeat while the timer < n
- nothing()
- end repeat
- end
-